#include<cstdio>
using namespace std;
int main()
{
	int x, y;
	scanf("%d %d", &x, &y);
	printf("%.4f", (1.0 * 87 * x + 85 * y) / (x + y));
	return 0;
}
